<?php
namespace Home\Model;
use Think\Model;
class ExpiremsgModel extends Model {
    //put your code here
    public function addExpire($data) {
        return $this->add($data);
    }
    
    public function getExpires($where,$limit) {
        return $this->where($where)->limit($limit)->select();
    }
    
    public function delExpires($where) {
        return $this->where($where)->delete();
    }
}
